﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Master/Site.master" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="private_default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <h2>
        Secure Admin
    </h2>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="Id" DataSourceID="ObjectDataSource1" AllowSorting="True">
            <Columns>
                <asp:CommandField ShowEditButton="True" />
                <asp:BoundField DataField="UserId" HeaderText="UserId" 
                    SortExpression="UserId" />
                <asp:CheckBoxField DataField="AccountInCredit" HeaderText="AccountInCredit" 
                    SortExpression="AccountInCredit" />
                <asp:CheckBoxField DataField="ApprovalRequired" HeaderText="ApprovalRequired" 
                    SortExpression="ApprovalRequired" />
                <asp:CheckBoxField DataField="RegistrationComplete" 
                    HeaderText="RegistrationComplete" SortExpression="RegistrationComplete" />
                <asp:CheckBoxField DataField="EmailConfirmed" HeaderText="EmailConfirmed" 
                    SortExpression="EmailConfirmed" />
                <asp:CheckBoxField DataField="AwaitingApproval" HeaderText="AwaitingApproval" 
                    SortExpression="AwaitingApproval" />
                <asp:CheckBoxField DataField="AccountActive" HeaderText="AccountActive" 
                    SortExpression="AccountActive" />
                <asp:CheckBoxField DataField="Active" HeaderText="Active" 
                    SortExpression="Active" />
                <asp:CheckBoxField DataField="UserRoleSet" HeaderText="UserRoleSet" 
                    SortExpression="UserRoleSet" />
                <asp:CheckBoxField DataField="AssociatedEntitySet" HeaderText="AssociatedEntitySet" 
                    SortExpression="AssociatedEntitySet" />
                <asp:BoundField DataField="Id" HeaderText="Id" 
                    SortExpression="Id" InsertVisible="False" ReadOnly="True" />
                <asp:CheckBoxField DataField="UserPlanChosen" HeaderText="UserPlanChosen" 
                    SortExpression="UserPlanChosen" />
                <asp:CheckBoxField DataField="AcceptedTrialPlan" HeaderText="AcceptedTrialPlan" 
                    SortExpression="AcceptedTrialPlan" />
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            DeleteMethod="Delete" 
            OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
            TypeName="LogginsLogDSTableAdapters.usp_UserCheckTableAdapter" 
            UpdateMethod="Update">
            <DeleteParameters>
                <asp:Parameter Name="Original_Id" Type="Int32" />
            </DeleteParameters>
            <SelectParameters>
                <asp:QueryStringParameter DbType="Guid" Name="UserId" QueryStringField="id" />
            </SelectParameters>
            <UpdateParameters>
                <asp:Parameter DbType="Guid" Name="UserId" />
                <asp:Parameter Name="AccountInCredit" Type="Boolean" />
                <asp:Parameter Name="ApprovalRequired" Type="Boolean" />
                <asp:Parameter Name="RegistrationComplete" Type="Boolean" />
                <asp:Parameter Name="EmailConfirmed" Type="Boolean" />
                <asp:Parameter Name="AwaitingApproval" Type="Boolean" />
                <asp:Parameter Name="AccountActive" Type="Boolean" />
                <asp:Parameter Name="UserPlanChosen" Type="Boolean" />
                <asp:Parameter Name="Active" Type="Boolean" />
                <asp:Parameter Name="UserRoleSet" Type="Boolean" />
                <asp:Parameter Name="AssociatedEntitySet" Type="Boolean" />
                <asp:Parameter Name="Original_Id" Type="Int32" />
                <asp:Parameter Name="AcceptedTrialPlan" Type="Boolean" />
            </UpdateParameters>
        </asp:ObjectDataSource>
    </p>

</asp:Content>

